package com.zdyg.inputtask.project.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.zdyg.inputtask.project.entity.BOrder;
import com.zdyg.inputtask.project.mapper.BOrderMapper;
import com.zdyg.inputtask.project.service.IBOrderService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 订单表 服务实现类
 * </p>
 *
 * @author ANGE
 * @since 2019-12-11
 */
@Service
public class BOrderServiceImpl extends ServiceImpl<BOrderMapper, BOrder> implements IBOrderService {

    @Autowired
    private BOrderMapper orderMapper;
    @Override
    public void getOrders() {
        orderMapper.selectList(new QueryWrapper<BOrder>());
    }
}
